﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleRest.Core
{
    public sealed class MessageHandlerContext
    {
        public readonly IHttpRequestMessage Request;
        public readonly Operation TargetOperation;
        public readonly Type TargetService;

        public MessageHandlerContext(IHttpRequestMessage request, Type targetService, Operation targetOperation)
        {
            this.Request = request;
            this.TargetOperation = targetOperation;
            this.TargetService = targetService;
        }
    }
}
